Optimal. Leaf size=113 \[ \frac {2 \left (c d^2-a e^2\right )^3}{5 e^4 (d+e x)^{5/2}}-\frac {2 c d \left (c d^2-a e^2\right )^2}{e^4 (d+e x)^{3/2}}+\frac {6 c^2 d^2 \left (c d^2-a e^2\right )}{e^4 \sqrt {d+e x}}+\frac {2 c^3 d^3 \sqrt {d+e x}}{e^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 113, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {640, 45}
\begin {gather*} \frac {6 c^2 d^2 \left (c d^2-a e^2\right )}{e^4 \sqrt {d+e x}}-\frac {2 c d \left (c d^2-a e^2\right )^2}{e^4 (d+e x)^{3/2}}+\frac {2 \left (c d^2-a e^2\right )^3}{5 e^4 (d+e x)^{5/2}}+\frac {2 c^3 d^3 \sqrt {d+e x}}{e^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 640
Rubi steps
\begin {align*} \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^3}{(d+e x)^{13/2}} \, dx &=\int \frac {(a e+c d x)^3}{(d+e x)^{7/2}} \, dx\\ &=\int \left (\frac {\left (-c d^2+a e^2\right )^3}{e^3 (d+e x)^{7/2}}+\frac {3 c d \left (c d^2-a e^2\right )^2}{e^3 (d+e x)^{5/2}}-\frac {3 c^2 d^2 \left (c d^2-a e^2\right )}{e^3 (d+e x)^{3/2}}+\frac {c^3 d^3}{e^3 \sqrt {d+e x}}\right ) \, dx\\ &=\frac {2 \left (c d^2-a e^2\right )^3}{5 e^4 (d+e x)^{5/2}}-\frac {2 c d \left (c d^2-a e^2\right )^2}{e^4 (d+e x)^{3/2}}+\frac {6 c^2 d^2 \left (c d^2-a e^2\right )}{e^4 \sqrt {d+e x}}+\frac {2 c^3 d^3 \sqrt {d+e x}}{e^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 109, normalized size = 0.96 \begin {gather*} -\frac {2 \left (a^3 e^6+a^2 c d e^4 (2 d+5 e x)+a c^2 d^2 e^2 \left (8 d^2+20 d e x+15 e^2 x^2\right )-c^3 d^3 \left (16 d^3+40 d^2 e x+30 d e^2 x^2+5 e^3 x^3\right )\right )}{5 e^4 (d+e x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.71, size = 133, normalized size = 1.18
method | result | size |
risch | \(\frac {2 c^{3} d^{3} \sqrt {e x +d}}{e^{4}}-\frac {2 \left (15 e^{2} x^{2} c^{2} d^{2}+5 a c d \,e^{3} x +25 c^{2} d^{3} e x +a^{2} e^{4}+3 a c \,d^{2} e^{2}+11 c^{2} d^{4}\right ) \left (e^{2} a -c \,d^{2}\right )}{5 e^{4} \sqrt {e x +d}\, \left (e^{2} x^{2}+2 d x e +d^{2}\right )}\) | \(121\) |
gosper | \(-\frac {2 \left (-5 c^{3} d^{3} e^{3} x^{3}+15 a \,c^{2} d^{2} e^{4} x^{2}-30 c^{3} d^{4} e^{2} x^{2}+5 a^{2} c d \,e^{5} x +20 a \,c^{2} d^{3} e^{3} x -40 c^{3} d^{5} e x +e^{6} a^{3}+2 e^{4} d^{2} a^{2} c +8 d^{4} e^{2} c^{2} a -16 d^{6} c^{3}\right )}{5 \left (e x +d \right )^{\frac {5}{2}} e^{4}}\) | \(130\) |
trager | \(-\frac {2 \left (-5 c^{3} d^{3} e^{3} x^{3}+15 a \,c^{2} d^{2} e^{4} x^{2}-30 c^{3} d^{4} e^{2} x^{2}+5 a^{2} c d \,e^{5} x +20 a \,c^{2} d^{3} e^{3} x -40 c^{3} d^{5} e x +e^{6} a^{3}+2 e^{4} d^{2} a^{2} c +8 d^{4} e^{2} c^{2} a -16 d^{6} c^{3}\right )}{5 \left (e x +d \right )^{\frac {5}{2}} e^{4}}\) | \(130\) |
derivativedivides | \(\frac {2 c^{3} d^{3} \sqrt {e x +d}-\frac {2 c d \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}\right )}{\left (e x +d \right )^{\frac {3}{2}}}-\frac {6 c^{2} d^{2} \left (e^{2} a -c \,d^{2}\right )}{\sqrt {e x +d}}-\frac {2 \left (e^{6} a^{3}-3 e^{4} d^{2} a^{2} c +3 d^{4} e^{2} c^{2} a -d^{6} c^{3}\right )}{5 \left (e x +d \right )^{\frac {5}{2}}}}{e^{4}}\) | \(133\) |
default | \(\frac {2 c^{3} d^{3} \sqrt {e x +d}-\frac {2 c d \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}\right )}{\left (e x +d \right )^{\frac {3}{2}}}-\frac {6 c^{2} d^{2} \left (e^{2} a -c \,d^{2}\right )}{\sqrt {e x +d}}-\frac {2 \left (e^{6} a^{3}-3 e^{4} d^{2} a^{2} c +3 d^{4} e^{2} c^{2} a -d^{6} c^{3}\right )}{5 \left (e x +d \right )^{\frac {5}{2}}}}{e^{4}}\) | \(133\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 135, normalized size = 1.19 \begin {gather*} \frac {2}{5} \, {\left (5 \, \sqrt {x e + d} c^{3} d^{3} e^{\left (-3\right )} + \frac {{\left (c^{3} d^{6} - 3 \, a c^{2} d^{4} e^{2} + 3 \, a^{2} c d^{2} e^{4} - a^{3} e^{6} + 15 \, {\left (c^{3} d^{4} - a c^{2} d^{2} e^{2}\right )} {\left (x e + d\right )}^{2} - 5 \, {\left (c^{3} d^{5} - 2 \, a c^{2} d^{3} e^{2} + a^{2} c d e^{4}\right )} {\left (x e + d\right )}\right )} e^{\left (-3\right )}}{{\left (x e + d\right )}^{\frac {5}{2}}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.41, size = 154, normalized size = 1.36 \begin {gather*} \frac {2 \, {\left (40 \, c^{3} d^{5} x e + 16 \, c^{3} d^{6} - 5 \, a^{2} c d x e^{5} - a^{3} e^{6} - {\left (15 \, a c^{2} d^{2} x^{2} + 2 \, a^{2} c d^{2}\right )} e^{4} + 5 \, {\left (c^{3} d^{3} x^{3} - 4 \, a c^{2} d^{3} x\right )} e^{3} + 2 \, {\left (15 \, c^{3} d^{4} x^{2} - 4 \, a c^{2} d^{4}\right )} e^{2}\right )} \sqrt {x e + d}}{5 \, {\left (x^{3} e^{7} + 3 \, d x^{2} e^{6} + 3 \, d^{2} x e^{5} + d^{3} e^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 654 vs.
\(2 (105) = 210\).
time = 2.22, size = 654, normalized size = 5.79 \begin {gather*} \begin {cases} - \frac {2 a^{3} e^{6}}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} - \frac {4 a^{2} c d^{2} e^{4}}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} - \frac {10 a^{2} c d e^{5} x}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} - \frac {16 a c^{2} d^{4} e^{2}}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} - \frac {40 a c^{2} d^{3} e^{3} x}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} - \frac {30 a c^{2} d^{2} e^{4} x^{2}}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} + \frac {32 c^{3} d^{6}}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} + \frac {80 c^{3} d^{5} e x}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} + \frac {60 c^{3} d^{4} e^{2} x^{2}}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} + \frac {10 c^{3} d^{3} e^{3} x^{3}}{5 d^{2} e^{4} \sqrt {d + e x} + 10 d e^{5} x \sqrt {d + e x} + 5 e^{6} x^{2} \sqrt {d + e x}} & \text {for}\: e \neq 0 \\\frac {c^{3} x^{4}}{4 \sqrt {d}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.10, size = 149, normalized size = 1.32 \begin {gather*} 2 \, \sqrt {x e + d} c^{3} d^{3} e^{\left (-4\right )} + \frac {2 \, {\left (15 \, {\left (x e + d\right )}^{2} c^{3} d^{4} - 5 \, {\left (x e + d\right )} c^{3} d^{5} + c^{3} d^{6} - 15 \, {\left (x e + d\right )}^{2} a c^{2} d^{2} e^{2} + 10 \, {\left (x e + d\right )} a c^{2} d^{3} e^{2} - 3 \, a c^{2} d^{4} e^{2} - 5 \, {\left (x e + d\right )} a^{2} c d e^{4} + 3 \, a^{2} c d^{2} e^{4} - a^{3} e^{6}\right )} e^{\left (-4\right )}}{5 \, {\left (x e + d\right )}^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.65, size = 129, normalized size = 1.14 \begin {gather*} -\frac {2\,\left (a^3\,e^6+2\,a^2\,c\,d^2\,e^4+5\,a^2\,c\,d\,e^5\,x+8\,a\,c^2\,d^4\,e^2+20\,a\,c^2\,d^3\,e^3\,x+15\,a\,c^2\,d^2\,e^4\,x^2-16\,c^3\,d^6-40\,c^3\,d^5\,e\,x-30\,c^3\,d^4\,e^2\,x^2-5\,c^3\,d^3\,e^3\,x^3\right )}{5\,e^4\,{\left (d+e\,x\right )}^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________